<!-- 案例 -->
<link rel="stylesheet" href="/css/otherInformation.css">
<div class="main layui-clear">
	<div class="fly-main layui-clear" style="margin-bottom: 33px;">
		<div class="wrap layui-clear">
			<#include "/apps/user/otheruser/otherusermenu.html">
			
			<div class="home-right" id="commenttopic">
				<div class="content">
					<div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
						<ul class="layui-tab-title mobile-display-none">
							<li <#if typename?? && typename == 'downList' || typename == 'comment' || typename == 'addcomment'>class="layui-this"</#if>><a href="/user/downlist.html?userid=${curruser.id!''}">他的案例</a></li>
						</ul>
						
						<div class="layui-tab-content">
							<div class="layui-tab-item layui-show">
								<table class="user-table mobile-display-none">
						    	<thead>
							    	<tr>
								    	<th width="60%">案例</th>
								    	<th width="20%">作者</th>
								    	<th width="20%">价格</th>
								    <!-- 	<th width="20%">操作</th> -->
							    	</tr>
						    	</thead>
						    	<tbody>
							    	<#if microList??>
									<#list microList.content as list>
							    	<tr>
								    	<td title="${list.title!}"><a href="/admin/microcase/hotDetail/${list.id!''}.html?id=${list.id!''}">${list.title!}</a></td>
								    	<td>${list.author!''}</td>
								    	<td>
								    	<#if list.price?? && list.rolename == '0'>
									  	      <a href="#" class="color-E02E2E">免费</a>
									    <#else>
										  <a href="#" class="color-E02E2E">${list.price!''}</a>
									    </#if>
						    			</td>
							    	</tr>
									</#list>
									<#else>
									<tr>
								    	<td colspan="4"><i style="font-size:14px;">没有购买任何案例</i></td>
							    	</tr>
									</#if>
						    	</tbody>
						    </table>
						    <#if microList??>
							<#list microList.content as list>
						    	<li class="pc-display-none mobile-li">
							    	<a href="/admin/microcase/hotDetail/${list.id!''}.html?id=${list.id!''}">${list.title!}</a>
							    	<p class="info">
							    	<span class="author">${list.author!''}</span>
							    	<#if list.price?? && list.rolename == '0'>
								  	      <span class="price">免费</span>
								    <#else>
									  <span  class="price">${list.price!''}</span>
								    </#if>
							    	</p>
						    	</li>
							</#list>
							<#else>
								<li>
							    	<span><i style="font-size:14px;">没有购买任何案例</i></span>
						    	</li>
							</#if>
							</div>
						</div>
					</div>
				</div>
				<div style="text-align: center" class="front-desk">
					<div class="laypage-main" id="pages"></div>
				</div>
			</div>
		</div>
	</div>
</div>
<script>


layui.use(['laypage', 'layer'], function(){
	var laypage = layui.laypage;
  	laypage({
	    cont: 'pages'
	    ,first:'首页'
	    ,last:'末页'
	    ,pages: ${microList.totalPages}
	    ,curr:${microList.number+1}
	    ,skin: '#32c24d'
	    ,jump:function(obj, first){
	    	var curr = obj.curr;
	    	if (!first) {
               location.href = '/user/downlist.html?userid=${curruser.id!''}&p=' + curr + "<#if RequestParameters['q']?? && RequestParameters['q'] != ''>&q=${RequestParameters['q']}</#if>";
            }
	    }
	});
});

</script>